<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<jsp:include page="../common/jsp/taglibs.jsp"/>
<%
    String menuList = "";
    if (session.getAttribute("menu") != null) {
        menuList = session.getAttribute("menu").toString();
    }
%>
<html style="padding-left: 0">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <link href="${ctx}images/ico/system.ico" mce_href="favicon.ico" rel="bookmark" type="image/x-icon" />
    <link href="${ctx}images/ico/system.ico" mce_href="favicon.ico" rel="icon" type="image/x-icon" />
    <link href="${ctx}images/ico/system.ico" mce_href="favicon.ico" rel="shortcut icon" type="image/x-icon" />

    <title>产品质量追溯管理系统</title>
    <jsp:include page="../common/jsp/head.jsp"/>
    <link type="text/css" rel="stylesheet" href="${ctx}css/icon/demo.css?version=${version}"/>
    <link type="text/css" rel="stylesheet" href="${ctx}css/icon/iconfont.css?version=${version}"/>
    <link type="text/css" rel="stylesheet" href="${ctx}css/index.css?version=${version}"/>
</head>
<body style="padding-left: 0">
<div class="header header-admin">
    <div class="fhuaui-logo">
        <a class="logo" href="#" style="color:#fff;width:325px;font-weight:bold;">
            <img style="float:left;margin-top:12px;margin-left:12px;" src="${ctx}images/adminlogo.png"/>
            <span style="float:right;height:66px;line-height:66px;font-size:25px;font-family: Sim sun;">产品质量追溯管理系统</span>
        </a>
    </div>
    <ul class="layui-nav" style="right:0;margin:0">
        <li class="pre">
            欢迎您：<span style="margin-left:10px;font-size:20px;"><s:property value='#session.loginUser.userName'/></span>
        </li>
        <li class="pre" id="weather">
        </li>
        <li class="pre">
            <span style="margin-right:5px;" id="clock1"></span>
            <span id="clock2"></span>
        </li>
        <li class="layui-nav-item">
            <a href="javascript:;" class="admin-header-user">
                <s:if test="#session.loginUser.sex==1">
                    <img src="${ctx}images/1.png" style="width: 40px; height: 40px; border-radius: 100%;">
                </s:if>
                <s:else>
                    <img src="${ctx}images/0.png" style="width: 40px; height: 40px; border-radius: 100%;">
                </s:else>
                <span style="margin-right:8px;"><s:property value='#session.loginUser.loginName'/></span>
                <span class="layui-nav-more"></span>
            </a>
            <dl class="layui-nav-child my_top_menu layui-anim layui-anim-upbit" style="height:100px;z-index:1000;">
                <dd>
                    <a href="javascript:" onclick="add($(this).html(),$(this),'${ctx}user/toUser.action')"
                       class="click_to_action"><em class="iconfont">&#xe609;</em><cite>个人信息</cite></a>
                </dd>
                <dd>
                    <a href="javascript:" onclick="add($(this).html(),$(this),'${ctx}user/toPwdSet.action')"
                       class="click_to_action"><em class="iconfont">&#xe6ab;</em><cite>修改密码</cite></a>
                </dd>
                <dd>
                    <a href="javascript:" class="do-admin"><em class="iconfont">&#xe71f;</em><cite>注销</cite></a>
                </dd>
            </dl>
        </li>
    </ul>

</div>
<div class="down">
    <div class="left">
        <div style="width:102%;height:100%;overflow-x:hidden;overflow-y:auto;padding-right:30px;">
            <%= menuList %>
        </div>
    </div>
    <div class="right">
        <div id="admin-body" class="layui-tab" style="margin:0;" lay-filter="demo" lay-allowclose="true" style="height:100%;">
            <ul class="layui-tab-title" id="ul"></ul>
            <div id="content" class="layui-tab-content" style="margin:0;padding: 0;">
            </div>
        </div>
        <div class="bottom">
            版权所有：
            <a href="http://www.zzokq.com/" target="blank" style="text-decoration:none;">郑州欧柯奇仪器制造有限公司</a>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <a href="${ctx}" target="blank" style="text-decoration:none;">产品追溯查询</a>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript" src="${ctx}js/index.js?version=${version}"></script>
